package com.views
{
	import com.utils.Drag;
	import com.view.View;
	import com.view.ViewBase;
	import com.view.Vision;
	import com.panels.ExampleComp;
	
	import flash.display.MovieClip;
	
	public class ExampleView extends ViewBase
	{
		private var _clsCompName:String = 'ReadyFaceComp';
		private var _clsComp:Class;
		private var _clsAlert:Class;
		
		private var _panel:ExampleComp;
		public function ExampleView()
		{
		}
		
		override public function show():void{
			loadPanel(_clsCompName);
		}
		
		override public function render():void{
			_clsComp = this.resourceLoader.getCls(_clsCompName);
			
			_panel = new ExampleComp(new _clsComp,this.design,this.lang,this.iTip,this.tips,this.alert,this.uri,this.view);
			this.addview(_panel);
			_panel.close = close;
			_panel.changeData();
		}
		
		override public function close():void{
			this.clearTarget();
			_panel.dispose();
			_panel = null;
		}
		
		
		
		
		
		
	}
}